Home | History | Annotate | Download | only in include

Lines Matching defs:metafile

11 *   Metafile related declarations

18 class Metafile : public Image
23 // Read a metafile
24 Metafile()
30 // Playback a metafile from a HMETAFILE
31 // If deleteWmf is TRUE, then when the metafile is deleted,
33 Metafile(IN HMETAFILE hWmf,
37 GpMetafile * metafile = NULL;
39 lastResult = DllExports::GdipCreateMetafileFromWmf(hWmf, deleteWmf, apmFileHeader, &metafile);
41 SetNativeImage(metafile);
44 // Playback a metafile from a HENHMETAFILE
45 // If deleteEmf is TRUE, then when the metafile is deleted,
47 Metafile(IN HENHMETAFILE hEmf,
50 GpMetafile * metafile = NULL;
52 lastResult = DllExports::GdipCreateMetafileFromEmf(hEmf, deleteEmf, &metafile);
54 SetNativeImage(metafile);
57 // Playback a metafile from a file
58 Metafile(IN const WCHAR* filename)
60 GpMetafile * metafile = NULL;
62 lastResult = DllExports::GdipCreateMetafileFromFile(filename, &metafile);
64 SetNativeImage(metafile);
67 // Playback a WMF metafile from a file
68 Metafile(IN const WCHAR* filename,
72 GpMetafile * metafile = NULL;
74 lastResult = DllExports::GdipCreateMetafileFromWmfFile(filename, apmFileHeader, &metafile);
76 SetNativeImage(metafile);
79 // Playback a metafile from a stream
80 Metafile(IN IStream* stream)
82 GpMetafile * metafile = NULL;
84 lastResult = DllExports::GdipCreateMetafileFromStream(stream, &metafile);
86 SetNativeImage(metafile);
89 // Record a metafile to memory
90 Metafile(
96 GpMetafile * metafile = NULL;
100 description, &metafile);
102 SetNativeImage(metafile);
105 // Record a metafile to memory
106 Metafile(
114 GpMetafile * metafile = NULL;
118 description, &metafile);
120 SetNativeImage(metafile);
123 // Record a metafile to memory
124 Metafile(
132 GpMetafile * metafile = NULL;
136 description, &metafile);
138 SetNativeImage(metafile);
141 // Record a metafile to a file
142 Metafile(
149 GpMetafile * metafile = NULL;
153 description, &metafile);
155 SetNativeImage(metafile);
158 // Record a metafile to a file
159 Metafile(
168 GpMetafile * metafile = NULL;
172 description, &metafile);
174 SetNativeImage(metafile);
177 // Record a metafile to a file
178 Metafile(
187 GpMetafile * metafile = NULL;
191 description, &metafile);
193 SetNativeImage(metafile);
196 // Record a metafile to a stream
197 Metafile(
204 GpMetafile * metafile = NULL;
208 description, &metafile);
210 SetNativeImage(metafile);
213 // Record a metafile to a stream
214 Metafile(
223 GpMetafile * metafile = NULL;
227 description, &metafile);
229 SetNativeImage(metafile);
232 // Write a metafile to a stream with down-level GDI records
233 Metafile(
242 GpMetafile * metafile = NULL;
246 description, &metafile);
248 SetNativeImage(metafile);
293 // Once this method is called, the Metafile object is in an invalid state
325 // If you're using a printer HDC for the metafile, but you want the
326 // metafile rasterized at screen resolution, then use this API to set
327 // the rasterization dpi of the metafile to the screen resolution,
349 static UINT Metafile::EmfToWmfBits(
368 Metafile(const Metafile &);
369 Metafile& operator=(const Metafile &);